package game;

import java.util.ArrayList;

import cards.Card;
import cards.Identity;
import cards.Pandin;
import heroes.Hero;
/**
 * class Player is only for players communicating. 
 * @author ILD
 *
 */
public class Player {
	private String name;
	Identity identity;
	
	
	
	public Player(String name){
		this.name = name;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	// hero character
	private Hero character;
	/**
	 * @return the character
	 */
	public Hero getCharacter() {
		return character;
	}
	/**
	 * @param character the character to set
	 */
	public void setCharacter(Hero character) {
		this.character = character;
	}
	public String toString() {
		return name;
	}
	//@deprecated all these are put in the RightPanel.
	//this variable will be set by the model's rule
//	private static boolean canWeTalk;
//	public void setCanWeTalk(boolean toBset){
//		canWeTalk = toBset;
//	}
//	public void talk(String toBsaid){
//		if(canWeTalk){
//			//talk
//			return;
//		}
//		//notify the current player that he cannot talk.
//	}
}
